
const common_identifier = 'http://118.31.50.158:8084/jhwy/api/common'
const pgdl_identifier = 'http://km.renfengdc.com/api/pgdl'
const heapServerAPI_identifier = 'http://www.middleyun.com/HeapServerAPI'
const elevator_identifier = 'https://api.saas.le-parts.com:9443'
let api = {}
api.common = {
 attendanceRecordList: `${common_identifier}/getAttendanceRecordList`,
 communityService: `${common_identifier}/getCommunityService`,
 maintenanceList: `${common_identifier}/getMaintenanceList`,
 maintenanceOverview: `${common_identifier}/getMaintenanceOverview`,
 communityInfoList: `${common_identifier}/getCommunityInfoList`,
 residentAndVehicleNumbers: `${common_identifier}/getResidentAndVehicleNumbers`,
 depositsTypeAndNumbers: `${common_identifier}/getDepositsTypeAndNumbers`,
 maintenancePendingList: `${common_identifier}/getMaintenancePendingList`,
 householdInformationList: `${common_identifier}/getHouseholdInformationList`
}
//门禁
api.pgdl = {
 openLog: `${pgdl_identifier}/getOpenLog`,
 errorLock: `${pgdl_identifier}/getErrorLock`,
 allLockCount: `${pgdl_identifier}/getAllLockCount`
}
//消防通道堆物
api.HeapServerAPI = {
 deviceIncidentServlet: `${heapServerAPI_identifier}/DeviceIncidentServlet`,
}
//电梯
api.elevator = {
 login: `${elevator_identifier}/external/userLogin`,
 getDeviceNum: `${elevator_identifier}/wisdom/getDeviceNum`,
 getLiftRealTimeData: `${elevator_identifier}/wisdom/getLiftRealTimeData`,
 getByPage: `${elevator_identifier}/wisdom/getByPage`,
}
export default api
